// 导入createStore方法
import { createStore } from 'redux'
import reducer from './Reducer'

// 初始化数据
const initValue = {
    apple: 0,
    banana: 0,
    orange: 0
}

// 创建reducer


// 调用createStore方法，生成store仓库
const store = createStore(reducer, initValue)

// 导出store
export default store